package cn.shen.edit.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import javax.jws.soap.SOAPBinding;

@Data
@TableName("user_test")
@Builder
public class User {

    @TableId(value = "user_id",type = IdType.AUTO)
    private long userId;

    @TableField("user_name")
    private String userName;


    public User(){

    }

    public User(long userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }
}
